package com.scau.dunka.util;

import com.scau.dunka.bean.Article;
import com.scau.dunka.dao.ArticleDao;
import com.scau.dunka.service.ArticleService;

public class Test {
    public static  void main(String[] args){

    /*    ArticleService articleService = new ArticleService();
        int id=7;
        Article article = new Article();
        article.setId(id);
        article.setTitle("222");
        article.setCategoryId(2);
        article.setContent("dadajkdjkajsd");
        article.setCategory(articleService.getCategoryById(2).getName());
        articleService.updateBlog(article);*/
    }
}
